package com.bailong.nanny.entity;

import java.io.Serializable;

public class Nanny implements Serializable {
    private static final long serialVersionUID = 1L;
    private int id;
    private String name;
    private int age;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public float getSalary() {
        return salary;
    }

    public void setSalary(float salary) {
        this.salary = salary;
    }

    public int getMonths() {
        return months;
    }

    public void setMonths(int months) {
        this.months = months;
    }

    public String getEdu() {
        return edu;
    }

    public void setEdu(String edu) {
        this.edu = edu;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMarrital() {
        return marrital;
    }

    public void setMarrital(String marrital) {
        this.marrital = marrital;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    private String gender;
    private String tel;
    private float salary;
    private int months;
    private String edu;
    private String place;
    private String address;
    private String marrital;
    private String status;

    @Override
    public String toString() {
        return "Nanny{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", gender='" + gender + '\'' +
                ", tel='" + tel + '\'' +
                ", salary=" + salary +
                ", months=" + months +
                ", edu='" + edu + '\'' +
                ", place='" + place + '\'' +
                ", address='" + address + '\'' +
                ", marrital='" + marrital + '\'' +
                ", status='" + status + '\'' +
                '}';
    }

    public Nanny(int id, String name, int age, String gender, String tel, float salary, int months, String edu, String place, String address, String marrital, String status) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.gender = gender;
        this.tel = tel;
        this.salary = salary;
        this.months = months;
        this.edu = edu;
        this.place = place;
        this.address = address;
        this.marrital = marrital;
        this.status = status;
    }
    public Nanny(){};
}
